class CTest
{
public:
    API_INIT int Init(const char* pszFile, int iLogLevel = LOG_TRACE, int iPrintLevel = LOG_TRACE, int iSize = -1);

    API int Log(int level, const char* file, int line=0);
    API void LogToFile(int level, const char* file, int line, const char* fmt, va_list va);
    API void Print(int level, const char* fmt, va_list va);
    API void HexLog(const char* file, int line, const char* pszName, const BYTE* data, int iLen);
};
